package com.lin.factory;
/**面团*/
abstract class Dough {}
class ThinCrustDough extends Dough{
	public ThinCrustDough() {
		System.out.println("create thincrustdough");
	}
}
class ThickCrustDough extends Dough{
	public ThickCrustDough() {
		System.out.println("create thickcrustdough");
	}
}
class VeryThinCrust extends Dough{
	public VeryThinCrust() {
		System.out.println("create verythincrust");
	}
}
/**酱料*/
abstract class Sauce{}
class MarinaraSauce extends Sauce{
	public MarinaraSauce() {
		System.out.println("sauce:MarinaraSauce");
	}
}
class PlumTOmatoSauce extends Sauce{
	public PlumTOmatoSauce() {
		System.out.println("sauce:PlumTOmatoSauce");
	}
}
class BruschettaSauce extends Sauce{
	public BruschettaSauce() {
		System.out.println("sauce:BruschettaSauce");
	}
}
/**芝士*/
abstract class Cheese{}
class ReggianoCheese extends Cheese{
	public ReggianoCheese() {
		System.out.println("--ReggianoCheese--");
	}
}
class MozzarellaCheese extends Cheese{
	public MozzarellaCheese() {
		System.out.println("--MozzarellaCheese--");
	}
}
class GoatCheese extends Cheese{
	public GoatCheese() {
		System.out.println("--GoatCheese--");
	}
}
/**蔬菜*/
abstract class Veggies{}
class Garlic extends Veggies{
	public Garlic() {
		System.out.println("__Garlic__");
	}
}
class Onion extends Veggies{
	public Onion() {
		System.out.println("__Onion__");
	}
}
class Mushroom extends Veggies{
	public Mushroom() {
		System.out.println("__Mushroom__");
	}
}
class RedPepper extends Veggies{
	public RedPepper() {
		System.out.println("__RedPepper__");
	}
}

abstract class Pepperoni{}
class SlicedPepperoni extends Pepperoni{
	public SlicedPepperoni() {
		System.out.println("~~SlicedPepperoni~~");
	}
}

abstract class Clams{}
class FreshClams extends Clams{
	public FreshClams() {
		System.out.println("||FreshClams||");
	}
}

